package com.jprocms.module.cms.controller.admin.guestbook.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@Schema(description = "前台 留言板创建 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class GuestbookFrontPostReqVO extends GuestbookCreateReqVO {
    @Schema(description = "验证码", requiredMode = Schema.RequiredMode.REQUIRED, example = "29114")
    @NotNull(message = "验证码")
    private String captchaVerification;
}
